words=input('请输入一行字符：每个单词以空格隔开：')
list1=words.split(' ')
print(f'共有单词数:{len(list1)}')
for i in list1:
    print(f'{i}:{len(i)}')
